---
title: "get raw body · RUAL Documentation"
description: "Returns the request body exactly as received on the wire, as a string : the bytes an HMAC signature covers. Use this (never a re-serialized object) when…"
canonical: https://docs.rual.nl/block-types/http connection/httpconnection_get_body_raw
language: en
---

# get raw body

This block is part of the [`http connection`](https://docs.rual.nl/block-types/http%20connection) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Returns the request body exactly as received on the wire, as a string : the bytes an HMAC signature covers. Use this (never a re-serialized object) when verifying signature headers like `X-Mssgs-Signature`.

- connection required `httpconnection`

- raw body `value`

A typical wiring for [get raw body](https://docs.rual.nl/block-types/http%20connection/httpconnection_get_body_raw): the `value` out pin feeds [sha256](https://docs.rual.nl/block-types/value/value_sha256_hmac).

![Studio canvas example for the get raw body block: typical wiring for get raw body.](https://docs.rual.nl/canvas-examples/httpconnection_get_body_raw.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [sha256](https://docs.rual.nl/block-types/value/value_sha256_hmac): this block feeds into it. HMAC-SHA256 of the value keyed with the secret, as lowercase hex — e.g. to verify a webhook's X-Mssgs-Signature: sha256=&lt;hex&gt; header against the raw request body.

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).
